package org.example.springboot.convert;

import org.example.springboot.entity.Cycle;
import org.example.springboot.vo.CycleVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 
*
* @author Fz
* @since 1.0.0 2024-07-31
*/
@Mapper
public interface CycleConvert {
    CycleConvert INSTANCE = Mappers.getMapper(CycleConvert.class);

    Cycle convert(CycleVO vo);

    CycleVO convert(Cycle entity);

    List<CycleVO> convertList(List<Cycle> list);

}